/*
 * FlightInbox.cpp
 *
 *  Created on: Sep 5, 2013
 *      Author: gonprieto
 */

#include "FlightInbox.h"
#include "../../utils/Logger.h"

FlightInbox::FlightInbox(std::string fifoName,bool esReader) : FifoProtocoloPlano(fifoName,esReader) {
}

FlightInbox::~FlightInbox() {
	Logger::instancia() << "FlightInbox::~FlightInbox" << eol ;
}

void FlightInbox::changeStatus(DTOFlight dto){
	Logger::instancia() << "FlightInbox::changeStatus" << eol ;
	escribirDTO(dto);
}

void FlightInbox::saludarControler(DTOFlightControler dto){
	Logger::instancia() << "FlightInbox::saludarControler" << eol ;
	escribirDTO(dto);
}
